home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / dev / gcc / libnix.lha / gnu / lib / libnix / sources.lha / nix / stdlib / system.c < prev   
Encoding:
C/C++ Source or Header  |  1994-04-26  |  282 b   |  15 lines

  1. #include <utility/TagItem.h>
  2. #include <dos/dos.h>
  3. #ifdef __GNUC__
  4. #include <inline/dos.h>
  5. #endif
  6.  
  7. static struct TagItem list[]={ { TAG_END,0 } }; /* No Tags */
  8.  
  9. int system(const char *string)
  10. { if(string==NULL)
  11.     return 1;
  12.   else
  13.     return SystemTagList((char *)string,list); 
  14. }
  15.